package com.justech.eat.service;

/**
 * @program: eat-service
 * @description: 具有缓存能力的OrderDetail查询服务
 * @author: feifei.li
 * @create: 2020-06-16 09:11
 **/
public interface CacheCapableOrderDetailService extends OrderDetailService {

    /**
     * 查询某个日期数据，注入到缓存中
     *
     * @param date
     */
    void irrigation(String date);

    /**
     * 清除缓存
     *
     * @param date
     */
    void clear(String date);

}
